
/**
The <code>Player</code> interface represents a player agent.  <code>Player</code>s can be connected to <code>PlayerListener</code>s, which receive events from the player.
*/
public interface Player {
	
	/**
	Returns the player name.
	*/
	public String getName();
	
	/**
	Sets the <code>PlayerListener</code> of this player, which the player sends commands to.
	*/
	public void setPlayerListener(PlayerListener pl);
	
	/**
	This method should be called whenever there is a change to the data.
	*/
	public void alert();
	
}
